package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-06-26
 * Time: 21:35
 */
public class Test02 {
    public static void main(String[] args)
            throws CloneNotSupportedException{
        Person person1 = new Person("zhangsan",18);
        Person person2 = (Person)person1.clone();
        System.out.println(person2.toString());
    }
}
